package com.anti.modular.bus.buscostbillhydropower.param;

import com.anti.commom.pojo.BaseParam;
import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.NotBlank;

/**
* 基础费用账单水电物业表参数类
 *
 * @author anti
 * @date 2021-04-08 10:23:36
*/
@Data
public class BusCostBillHydropowerParam extends BaseParam {

    /**
     * 主键id
     */
    @NotNull(message = "主键id不能为空，请检查id参数", groups = {edit.class, delete.class, detail.class})
    private Long id;

    /**
     * 名称
     */
    @NotBlank(message = "名称不能为空，请检查name参数", groups = {add.class, edit.class})
    private String name;

    /**
     * 类型
     */
    @NotNull(message = "类型不能为空，请检查type参数", groups = {add.class, edit.class})
    private String type;

    /**
     * 状态
     */
    private Integer status;

}
